<?php
$this->breadcrumbs=array(
	'Pengetahuan',
);

$this->menu=array(
	array('label'=>'Create Post', 'url'=>array('create')),
);
?>

<h1>pengetahuan</h1>

<?php $this->widget('bootstrap.widgets.TbGridView', array(
	'id'=>'post-grid',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		array(
			'header'=>'No',
			'value'=>'$this->grid->dataProvider->pagination->currentPage * 
				$this->grid->dataProvider->pagination->pageSize + ($row+1)',
			'htmlOptions'=>array('width'=>'3%','style'=>'text-align:center'),
		),
		'judul',
		'posted',
		array(
			'header'=>'pilihan',
			'class'=>'CButtonColumn',
		),
	),
)); ?>

